package com.pro.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class JsUnseal {

  private Integer id;
  private Integer userId;
  private Integer type;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date unsealDate;
  private String remarks;

  private String account;//用户账号
  private String nickname;//用户昵称
  private String deptName;//部门名称

  public JsUnseal() {
    super();
  }

  public JsUnseal(Integer id, Integer userId, Integer type, Date unsealDate, String remarks) {
    this.id = id;
    this.userId = userId;
    this.type = type;
    this.unsealDate = unsealDate;
    this.remarks = remarks;
  }

  public void setAccount(String account) {
    this.account = account;
  }

  public void setNickname(String nickname) {
    this.nickname = nickname;
  }

  public void setDeptName(String deptName) {
    this.deptName = deptName;
  }

  public String getAccount() {
    return account;
  }

  public String getNickname() {
    return nickname;
  }

  public String getDeptName() {
    return deptName;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public Integer getType() {
    return type;
  }

  public void setType(Integer type) {
    this.type = type;
  }

  public Date getUnsealDate() {
    return unsealDate;
  }

  public void setUnsealDate(Date unsealDate) {
    this.unsealDate = unsealDate;
  }

  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  @Override
  public String toString() {
    return "JsUnseal{" +
            "id=" + id +
            ", userId=" + userId +
            ", type=" + type +
            ", unsealDate=" + unsealDate +
            ", remarks='" + remarks + '\'' +
            '}';
  }
}
